package com.datuo.dtf.model;

import javax.persistence.*;

@Table(name = "sys_role_dept")
public class RoleDept extends BaseModel {
    /**
     * 角色ID
     */
    @Column(name = "role_id")
    private Long roleId;

    /**
     * 机构ID
     */
    @Column(name = "dept_id")
    private Long deptId;

    /**
     * 获取角色ID
     *
     * @return role_id - 角色ID
     */
    public Long getRoleId() {
        return roleId;
    }

    /**
     * 设置角色ID
     *
     * @param roleId 角色ID
     */
    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    /**
     * 获取机构ID
     *
     * @return dept_id - 机构ID
     */
    public Long getDeptId() {
        return deptId;
    }

    /**
     * 设置机构ID
     *
     * @param deptId 机构ID
     */
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }
}